package com.bgs.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.datatype.jsr310.deser.LocalDateTimeDeserializer;
import com.fasterxml.jackson.datatype.jsr310.ser.LocalDateTimeSerializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class ApproveVo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键id")
    private Integer id;

    @ApiModelProperty(value = "姓名")
    private String ename;

    @ApiModelProperty(value = "手机号码")
    private String phone;

    @ApiModelProperty(value = "入职部门")
    private String department;

    @ApiModelProperty(value = "上级负责人")
    private String superior;

    @ApiModelProperty(value = "学历")
    private String education;

    @ApiModelProperty(value = "职位")
    private String position;

    @ApiModelProperty(value = "员工类型")
    private String staff;

    @ApiModelProperty(value = "合同公司")
    private String contract;

    @ApiModelProperty(value = "员工状态")
    private String usertype;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "预计入职日期")
    private LocalDateTime estimate;

    @ApiModelProperty(value = "试用期")
    private String trial;

    @ApiModelProperty(value = "附件")
    private String enclosure;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "离职日期")
    private LocalDateTime quit;


    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "考勤补卡日期")
    private LocalDateTime supplement;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "请假日期")
    private LocalDateTime leave;

    @ApiModelProperty(value = "请假时长")
    private String leavetime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "加班日期")
    private LocalDateTime overtime;

    @ApiModelProperty(value = "加班时长")
    private String workovertime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "出差日期")
    private LocalDateTime travel;

    @ApiModelProperty(value = "出差地点")
    private String traveladdress;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "返回时间")
    private LocalDateTime returntime;

    @ApiModelProperty(value = "报销金额")
    private String reimbursement;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "付款时间")
    private LocalDateTime paymenttime;

    @ApiModelProperty(value = "付款金额")
    private String payment;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "合同取用时间")
    private LocalDateTime access;

    @ApiModelProperty(value = "合同用途")
    private String purpose;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "备用金申请时间")
    private LocalDateTime apply;

    @ApiModelProperty(value = "备用金取用金额")
    private Double applypay;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "还款时间")
    private LocalDateTime repayment;

    @ApiModelProperty(value = "审批状态（1我审批的  2 我发送的）")
    private Integer status;
    //  转正时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime intotime;

    private Integer eids;

    @ApiModelProperty(value = "主键id")
    private Integer eid;

    private String name;

    @ApiModelProperty(value = "邮箱地址")
    private String email;

    @ApiModelProperty(value = "公司id")
    private Integer companyid;

    @ApiModelProperty(value = "员工审批等级")
    private Integer emplevels;

    //  创建时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createtime;

    //    审批状态id（1提交待审批 2审批拒绝 3等待抄送 4审批通过）
    private  Integer spid;
//
//    //   审批进程id（1提交待审批 2审批拒绝 3等待抄送 4审批通过）
//    private Integer spjid;
}
